
const mutation = {
    search({state},msg){
        if(msg){
            this.state.isShow = false;
            this.state.searchRec = true;
            this.state.tip = false;
            this.state.itemList = msg;
        }else{
            this.state.isShow = false;
            this.state.searchRec = false;
            this.state.tip = true;
        }
    }
}
export default {
    mutation
}